import { mapGetters } from 'vuex'

export default {
  computed: {
    ...mapGetters([
      'roles'
    ]),
    assistantRole() {
      return (this.roles == '1' || this.roles == '16')
    },
    financeRole() {
      return (this.roles == '1' || this.roles == '17' || this.roles == '18' || this.roles == '20')
    },
    businessRole() {
      return (this.roles == '1' || this.roles == '14' || this.roles == '15')
    },
    admin() {
      return (this.roles == '1')
    }
  }
}
